package zhang.com.ssm.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DocInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DocInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDocIdIsNull() {
            addCriterion("Doc_id is null");
            return (Criteria) this;
        }

        public Criteria andDocIdIsNotNull() {
            addCriterion("Doc_id is not null");
            return (Criteria) this;
        }

        public Criteria andDocIdEqualTo(Integer value) {
            addCriterion("Doc_id =", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdNotEqualTo(Integer value) {
            addCriterion("Doc_id <>", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdGreaterThan(Integer value) {
            addCriterion("Doc_id >", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Doc_id >=", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdLessThan(Integer value) {
            addCriterion("Doc_id <", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdLessThanOrEqualTo(Integer value) {
            addCriterion("Doc_id <=", value, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdIn(List<Integer> values) {
            addCriterion("Doc_id in", values, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdNotIn(List<Integer> values) {
            addCriterion("Doc_id not in", values, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdBetween(Integer value1, Integer value2) {
            addCriterion("Doc_id between", value1, value2, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Doc_id not between", value1, value2, "docId");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeIsNull() {
            addCriterion("Doc_idcode is null");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeIsNotNull() {
            addCriterion("Doc_idcode is not null");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeEqualTo(Integer value) {
            addCriterion("Doc_idcode =", value, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeNotEqualTo(Integer value) {
            addCriterion("Doc_idcode <>", value, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeGreaterThan(Integer value) {
            addCriterion("Doc_idcode >", value, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("Doc_idcode >=", value, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeLessThan(Integer value) {
            addCriterion("Doc_idcode <", value, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeLessThanOrEqualTo(Integer value) {
            addCriterion("Doc_idcode <=", value, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeIn(List<Integer> values) {
            addCriterion("Doc_idcode in", values, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeNotIn(List<Integer> values) {
            addCriterion("Doc_idcode not in", values, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeBetween(Integer value1, Integer value2) {
            addCriterion("Doc_idcode between", value1, value2, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andDocIdcodeNotBetween(Integer value1, Integer value2) {
            addCriterion("Doc_idcode not between", value1, value2, "docIdcode");
            return (Criteria) this;
        }

        public Criteria andSummaryIdIsNull() {
            addCriterion("Summary_id is null");
            return (Criteria) this;
        }

        public Criteria andSummaryIdIsNotNull() {
            addCriterion("Summary_id is not null");
            return (Criteria) this;
        }

        public Criteria andSummaryIdEqualTo(Integer value) {
            addCriterion("Summary_id =", value, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdNotEqualTo(Integer value) {
            addCriterion("Summary_id <>", value, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdGreaterThan(Integer value) {
            addCriterion("Summary_id >", value, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Summary_id >=", value, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdLessThan(Integer value) {
            addCriterion("Summary_id <", value, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdLessThanOrEqualTo(Integer value) {
            addCriterion("Summary_id <=", value, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdIn(List<Integer> values) {
            addCriterion("Summary_id in", values, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdNotIn(List<Integer> values) {
            addCriterion("Summary_id not in", values, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdBetween(Integer value1, Integer value2) {
            addCriterion("Summary_id between", value1, value2, "summaryId");
            return (Criteria) this;
        }

        public Criteria andSummaryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Summary_id not between", value1, value2, "summaryId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdIsNull() {
            addCriterion("Doc_Type_id is null");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdIsNotNull() {
            addCriterion("Doc_Type_id is not null");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdEqualTo(Integer value) {
            addCriterion("Doc_Type_id =", value, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdNotEqualTo(Integer value) {
            addCriterion("Doc_Type_id <>", value, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdGreaterThan(Integer value) {
            addCriterion("Doc_Type_id >", value, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Doc_Type_id >=", value, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdLessThan(Integer value) {
            addCriterion("Doc_Type_id <", value, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("Doc_Type_id <=", value, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdIn(List<Integer> values) {
            addCriterion("Doc_Type_id in", values, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdNotIn(List<Integer> values) {
            addCriterion("Doc_Type_id not in", values, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("Doc_Type_id between", value1, value2, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andDocTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Doc_Type_id not between", value1, value2, "docTypeId");
            return (Criteria) this;
        }

        public Criteria andPubIdIsNull() {
            addCriterion("Pub_id is null");
            return (Criteria) this;
        }

        public Criteria andPubIdIsNotNull() {
            addCriterion("Pub_id is not null");
            return (Criteria) this;
        }

        public Criteria andPubIdEqualTo(Integer value) {
            addCriterion("Pub_id =", value, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdNotEqualTo(Integer value) {
            addCriterion("Pub_id <>", value, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdGreaterThan(Integer value) {
            addCriterion("Pub_id >", value, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Pub_id >=", value, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdLessThan(Integer value) {
            addCriterion("Pub_id <", value, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdLessThanOrEqualTo(Integer value) {
            addCriterion("Pub_id <=", value, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdIn(List<Integer> values) {
            addCriterion("Pub_id in", values, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdNotIn(List<Integer> values) {
            addCriterion("Pub_id not in", values, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdBetween(Integer value1, Integer value2) {
            addCriterion("Pub_id between", value1, value2, "pubId");
            return (Criteria) this;
        }

        public Criteria andPubIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Pub_id not between", value1, value2, "pubId");
            return (Criteria) this;
        }

        public Criteria andFundIdIsNull() {
            addCriterion("Fund_id is null");
            return (Criteria) this;
        }

        public Criteria andFundIdIsNotNull() {
            addCriterion("Fund_id is not null");
            return (Criteria) this;
        }

        public Criteria andFundIdEqualTo(Integer value) {
            addCriterion("Fund_id =", value, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdNotEqualTo(Integer value) {
            addCriterion("Fund_id <>", value, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdGreaterThan(Integer value) {
            addCriterion("Fund_id >", value, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Fund_id >=", value, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdLessThan(Integer value) {
            addCriterion("Fund_id <", value, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdLessThanOrEqualTo(Integer value) {
            addCriterion("Fund_id <=", value, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdIn(List<Integer> values) {
            addCriterion("Fund_id in", values, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdNotIn(List<Integer> values) {
            addCriterion("Fund_id not in", values, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdBetween(Integer value1, Integer value2) {
            addCriterion("Fund_id between", value1, value2, "fundId");
            return (Criteria) this;
        }

        public Criteria andFundIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Fund_id not between", value1, value2, "fundId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("User_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("User_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("User_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("User_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("User_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("User_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("User_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("User_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("User_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("User_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("User_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("User_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUploadTimeIsNull() {
            addCriterion("Upload_time is null");
            return (Criteria) this;
        }

        public Criteria andUploadTimeIsNotNull() {
            addCriterion("Upload_time is not null");
            return (Criteria) this;
        }

        public Criteria andUploadTimeEqualTo(Date value) {
            addCriterion("Upload_time =", value, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeNotEqualTo(Date value) {
            addCriterion("Upload_time <>", value, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeGreaterThan(Date value) {
            addCriterion("Upload_time >", value, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Upload_time >=", value, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeLessThan(Date value) {
            addCriterion("Upload_time <", value, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeLessThanOrEqualTo(Date value) {
            addCriterion("Upload_time <=", value, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeIn(List<Date> values) {
            addCriterion("Upload_time in", values, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeNotIn(List<Date> values) {
            addCriterion("Upload_time not in", values, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeBetween(Date value1, Date value2) {
            addCriterion("Upload_time between", value1, value2, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andUploadTimeNotBetween(Date value1, Date value2) {
            addCriterion("Upload_time not between", value1, value2, "uploadTime");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("Title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("Title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("Title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("Title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("Title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("Title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("Title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("Title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("Title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("Title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("Title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("Title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("Title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("Title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andSaveUrlIsNull() {
            addCriterion("Save_url is null");
            return (Criteria) this;
        }

        public Criteria andSaveUrlIsNotNull() {
            addCriterion("Save_url is not null");
            return (Criteria) this;
        }

        public Criteria andSaveUrlEqualTo(String value) {
            addCriterion("Save_url =", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlNotEqualTo(String value) {
            addCriterion("Save_url <>", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlGreaterThan(String value) {
            addCriterion("Save_url >", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlGreaterThanOrEqualTo(String value) {
            addCriterion("Save_url >=", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlLessThan(String value) {
            addCriterion("Save_url <", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlLessThanOrEqualTo(String value) {
            addCriterion("Save_url <=", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlLike(String value) {
            addCriterion("Save_url like", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlNotLike(String value) {
            addCriterion("Save_url not like", value, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlIn(List<String> values) {
            addCriterion("Save_url in", values, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlNotIn(List<String> values) {
            addCriterion("Save_url not in", values, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlBetween(String value1, String value2) {
            addCriterion("Save_url between", value1, value2, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSaveUrlNotBetween(String value1, String value2) {
            addCriterion("Save_url not between", value1, value2, "saveUrl");
            return (Criteria) this;
        }

        public Criteria andSubNumberIsNull() {
            addCriterion("Sub_Number is null");
            return (Criteria) this;
        }

        public Criteria andSubNumberIsNotNull() {
            addCriterion("Sub_Number is not null");
            return (Criteria) this;
        }

        public Criteria andSubNumberEqualTo(Integer value) {
            addCriterion("Sub_Number =", value, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberNotEqualTo(Integer value) {
            addCriterion("Sub_Number <>", value, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberGreaterThan(Integer value) {
            addCriterion("Sub_Number >", value, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("Sub_Number >=", value, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberLessThan(Integer value) {
            addCriterion("Sub_Number <", value, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberLessThanOrEqualTo(Integer value) {
            addCriterion("Sub_Number <=", value, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberIn(List<Integer> values) {
            addCriterion("Sub_Number in", values, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberNotIn(List<Integer> values) {
            addCriterion("Sub_Number not in", values, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberBetween(Integer value1, Integer value2) {
            addCriterion("Sub_Number between", value1, value2, "subNumber");
            return (Criteria) this;
        }

        public Criteria andSubNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("Sub_Number not between", value1, value2, "subNumber");
            return (Criteria) this;
        }

        public Criteria andDocVolumeIsNull() {
            addCriterion("Doc_Volume is null");
            return (Criteria) this;
        }

        public Criteria andDocVolumeIsNotNull() {
            addCriterion("Doc_Volume is not null");
            return (Criteria) this;
        }

        public Criteria andDocVolumeEqualTo(Integer value) {
            addCriterion("Doc_Volume =", value, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeNotEqualTo(Integer value) {
            addCriterion("Doc_Volume <>", value, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeGreaterThan(Integer value) {
            addCriterion("Doc_Volume >", value, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeGreaterThanOrEqualTo(Integer value) {
            addCriterion("Doc_Volume >=", value, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeLessThan(Integer value) {
            addCriterion("Doc_Volume <", value, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeLessThanOrEqualTo(Integer value) {
            addCriterion("Doc_Volume <=", value, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeIn(List<Integer> values) {
            addCriterion("Doc_Volume in", values, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeNotIn(List<Integer> values) {
            addCriterion("Doc_Volume not in", values, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeBetween(Integer value1, Integer value2) {
            addCriterion("Doc_Volume between", value1, value2, "docVolume");
            return (Criteria) this;
        }

        public Criteria andDocVolumeNotBetween(Integer value1, Integer value2) {
            addCriterion("Doc_Volume not between", value1, value2, "docVolume");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeIsNull() {
            addCriterion("Published_time is null");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeIsNotNull() {
            addCriterion("Published_time is not null");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeEqualTo(Date value) {
            addCriterion("Published_time =", value, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeNotEqualTo(Date value) {
            addCriterion("Published_time <>", value, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeGreaterThan(Date value) {
            addCriterion("Published_time >", value, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Published_time >=", value, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeLessThan(Date value) {
            addCriterion("Published_time <", value, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeLessThanOrEqualTo(Date value) {
            addCriterion("Published_time <=", value, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeIn(List<Date> values) {
            addCriterion("Published_time in", values, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeNotIn(List<Date> values) {
            addCriterion("Published_time not in", values, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeBetween(Date value1, Date value2) {
            addCriterion("Published_time between", value1, value2, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andPublishedTimeNotBetween(Date value1, Date value2) {
            addCriterion("Published_time not between", value1, value2, "publishedTime");
            return (Criteria) this;
        }

        public Criteria andDocPageIsNull() {
            addCriterion("Doc_Page is null");
            return (Criteria) this;
        }

        public Criteria andDocPageIsNotNull() {
            addCriterion("Doc_Page is not null");
            return (Criteria) this;
        }

        public Criteria andDocPageEqualTo(Integer value) {
            addCriterion("Doc_Page =", value, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageNotEqualTo(Integer value) {
            addCriterion("Doc_Page <>", value, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageGreaterThan(Integer value) {
            addCriterion("Doc_Page >", value, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageGreaterThanOrEqualTo(Integer value) {
            addCriterion("Doc_Page >=", value, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageLessThan(Integer value) {
            addCriterion("Doc_Page <", value, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageLessThanOrEqualTo(Integer value) {
            addCriterion("Doc_Page <=", value, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageIn(List<Integer> values) {
            addCriterion("Doc_Page in", values, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageNotIn(List<Integer> values) {
            addCriterion("Doc_Page not in", values, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageBetween(Integer value1, Integer value2) {
            addCriterion("Doc_Page between", value1, value2, "docPage");
            return (Criteria) this;
        }

        public Criteria andDocPageNotBetween(Integer value1, Integer value2) {
            addCriterion("Doc_Page not between", value1, value2, "docPage");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}